package cn.craftyun.yunexam.service;

import cn.craftyun.yunexam.entity.Exam;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

public interface ExamService extends IService<Exam> {
    List<Map<String, Object>> getActiveExam(Integer count);

    IPage<Map<String, Object>> findAllExam(IPage<?> page);
}
